<%@page import="com.zll.framework.conf.Configuration"%>
<%@page pageEncoding="utf-8" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="com.zll.framework.util.*" %>
<%@ page import="com.zll.framework.model.*" %>
<%@ page import="com.zll.framework.db.*" %>
<%@ page import="com.welfare.common.*" %>


<%
	final String SYSTEM_NAME			= "행복천사콜";
	final String CONTEXT_ROOT			= "";

	final String session_user_id		= StringUtil.nvl(session.getAttribute("session.user_id"));
	final String session_user_name		= StringUtil.nvl(session.getAttribute("session.user_name"));
	final String session_dept_name		= StringUtil.nvl(session.getAttribute("session.dept_name"));
	final String session_position		= StringUtil.nvl(session.getAttribute("session.position"));
	final String session_user_auth		= StringUtil.nvl(session.getAttribute("session.user_auth"));
	
	boolean isAdmin = false; 
	
	if (session_user_auth.equals("S") || session_user_auth.equals("A") || session_user_auth.equals("U")) {
		isAdmin = true;
	}

	String remoteAddr 	= request.getRemoteAddr();

	Calendar cal = Calendar.getInstance();
	SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd");

	final String TODAY 		= df.format(cal.getTime());

	if (session_user_id == null || session_user_id.equals("")) {
		response.sendRedirect(CONTEXT_ROOT + "/common/move_view.jsp?target=_top&action=/admin&result=true");
		return;
	}
%>